Optimal. Leaf size=89 \[ -\frac{4 b \text{EllipticF}\left (\sin ^{-1}\left (\frac{\sqrt{c} \sqrt{d x}}{\sqrt{d}}\right ),-1\right )}{\sqrt{c} \sqrt{d}}+\frac{2 \sqrt{d x} \left (a+b \cos ^{-1}(c x)\right )}{d}+\frac{4 b E\left (\left .\sin ^{-1}\left (\frac{\sqrt{c} \sqrt{d x}}{\sqrt{d}}\right )\right |-1\right )}{\sqrt{c} \sqrt{d}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0739902, antiderivative size = 89, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.375, Rules used = {4628, 329, 307, 221, 1199, 424} \[ \frac{2 \sqrt{d x} \left (a+b \cos ^{-1}(c x)\right )}{d}-\frac{4 b F\left (\left .\sin ^{-1}\left (\frac{\sqrt{c} \sqrt{d x}}{\sqrt{d}}\right )\right |-1\right )}{\sqrt{c} \sqrt{d}}+\frac{4 b E\left (\left .\sin ^{-1}\left (\frac{\sqrt{c} \sqrt{d x}}{\sqrt{d}}\right )\right |-1\right )}{\sqrt{c} \sqrt{d}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4628
Rule 329
Rule 307
Rule 221
Rule 1199
Rule 424
Rubi steps
\begin{align*} \int \frac{a+b \cos ^{-1}(c x)}{\sqrt{d x}} \, dx &=\frac{2 \sqrt{d x} \left (a+b \cos ^{-1}(c x)\right )}{d}+\frac{(2 b c) \int \frac{\sqrt{d x}}{\sqrt{1-c^2 x^2}} \, dx}{d}\\ &=\frac{2 \sqrt{d x} \left (a+b \cos ^{-1}(c x)\right )}{d}+\frac{(4 b c) \operatorname{Subst}\left (\int \frac{x^2}{\sqrt{1-\frac{c^2 x^4}{d^2}}} \, dx,x,\sqrt{d x}\right )}{d^2}\\ &=\frac{2 \sqrt{d x} \left (a+b \cos ^{-1}(c x)\right )}{d}-\frac{(4 b) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1-\frac{c^2 x^4}{d^2}}} \, dx,x,\sqrt{d x}\right )}{d}+\frac{(4 b) \operatorname{Subst}\left (\int \frac{1+\frac{c x^2}{d}}{\sqrt{1-\frac{c^2 x^4}{d^2}}} \, dx,x,\sqrt{d x}\right )}{d}\\ &=\frac{2 \sqrt{d x} \left (a+b \cos ^{-1}(c x)\right )}{d}-\frac{4 b F\left (\left .\sin ^{-1}\left (\frac{\sqrt{c} \sqrt{d x}}{\sqrt{d}}\right )\right |-1\right )}{\sqrt{c} \sqrt{d}}+\frac{(4 b) \operatorname{Subst}\left (\int \frac{\sqrt{1+\frac{c x^2}{d}}}{\sqrt{1-\frac{c x^2}{d}}} \, dx,x,\sqrt{d x}\right )}{d}\\ &=\frac{2 \sqrt{d x} \left (a+b \cos ^{-1}(c x)\right )}{d}+\frac{4 b E\left (\left .\sin ^{-1}\left (\frac{\sqrt{c} \sqrt{d x}}{\sqrt{d}}\right )\right |-1\right )}{\sqrt{c} \sqrt{d}}-\frac{4 b F\left (\left .\sin ^{-1}\left (\frac{\sqrt{c} \sqrt{d x}}{\sqrt{d}}\right )\right |-1\right )}{\sqrt{c} \sqrt{d}}\\ \end{align*}
Mathematica [C] time = 0.034045, size = 45, normalized size = 0.51 \[ \frac{2 x \left (2 b c x \text{Hypergeometric2F1}\left (\frac{1}{2},\frac{3}{4},\frac{7}{4},c^2 x^2\right )+3 \left (a+b \cos ^{-1}(c x)\right )\right )}{3 \sqrt{d x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.008, size = 98, normalized size = 1.1 \begin{align*} 2\,{\frac{1}{d} \left ( a\sqrt{dx}+b \left ( \sqrt{dx}\arccos \left ( cx \right ) -2\,{\frac{\sqrt{-cx+1}\sqrt{cx+1}}{\sqrt{-{c}^{2}{x}^{2}+1}} \left ({\it EllipticF} \left ( \sqrt{dx}\sqrt{{\frac{c}{d}}},i \right ) -{\it EllipticE} \left ( \sqrt{dx}\sqrt{{\frac{c}{d}}},i \right ) \right ){\frac{1}{\sqrt{{\frac{c}{d}}}}}} \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{d x}{\left (b \arccos \left (c x\right ) + a\right )}}{d x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \arccos \left (c x\right ) + a}{\sqrt{d x}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]